<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>

     <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<%@include file="../publicJSCSS.jsp"%>

<script src="<%=request.getContextPath() %>/HRTWEB/js/jquery-1.9.1.js"></script>

<script src="<%=request.getContextPath() %>/HRTWEB/address/Area.js" type="text/javascript"></script>
<%-- <script src="<%=request.getContextPath() %>/HRTWEB/address/AreaData_min.js" type="text/javascript"></script>
<script src="<%=request.getContextPath() %>/HRTWEB/address/getArea.js" type="text/javascript"></script> --%>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/HRTWEB/css/changeAddress.css">
<title>编辑地址本</title>
</head>


<body>
	<div class="modal fade"  id="addressBookInfor" tabindex="-1" role="dialog"
		aria-labelledby="orderDetailsLabel" aria-hidden="true">
		<div class="modal-dialog changeAddress" >
			<div class="modal-content" style="background-color:#FFF2E6;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">编辑地址</h4>
				</div>
				<div class="modal-body">
					<form id="addressInfor" name="addressInfor">
						<input type="hidden" value="${hrtMember.id}" name="memberId" id="memberId"/>
						<input type="hidden" name="id" id="addressId"/>
						<div> 新增收货地址　电话号码、手机号选填一项,其余均为必填项 </div>
						<div class="m-l-x getAdress">所在地区:
						     <select id="seachprov" name="seachprov" onChange="changeComplexProvince(this.value);"></select>&nbsp;&nbsp;
							 <select id="seachcity" name="homecity" onChange="changeCity(this.value);"></select>&nbsp;&nbsp;
							 <span id="seachdistrict_div"><select id="seachdistrict" name="seachdistrict"></select></span>
						</div>
						<input type="hidden" id="province" name="province">
						<input type="hidden" id="city" name="city">
						<input type="hidden" id="area" name="area">
						<div class="m-l-x m-b-x"><span style="vertical-align: top">详细地址:</span><textarea name="address" id="address" rows="1" overflow-y="scroll" cols="30" ></textarea></div>
						<div class="m-l-x" >邮政编码:<input id="postCode" name="postCode" type="text" value="${address.postCode}"/></div>
						<div>收货人姓名:<input id="receiver" name="receiver" type="text" value="${address.receiver}"/></div>
						<div class="m-l-x">手机号码:<input id="mobile" name="mobile" type="text" value="${address.mobile}"/></div>
						<div class="m-l-x">电话号码:<input id="telPhone" name="telPhone" type="text" value="${address.telPhone}"/></div>
						<div class="m-l-x" ><input style="width:20px;height:16px;" type="checkbox" name="temp" id="temp"/><span>设置为默认收货地址</span></div>
						
						<div id="optBtn" class="modal-footer">
							<button id="saveBtn" type="button" name="saveBtn"
								class="btn btn-default">保存</button>
							
							<button type="button" class="btn btn-default"
								data-dismiss="modal" id="closeBtn" name="closeBtn">关闭</button>
						</div>
						
					</form>
					
				</div>

			</div>

		</div>


	<!-- <div><span class="m-l-x"></span>详细地址:<textarea name="address" id="address" ></textarea></div>
	<div><span class="m-l-x"></span>邮政编码:<input id="postCode" name="postCode" type="text"/></div>
	<div>收货人姓名:<input id="receiver" name="receiver" type="text"/></div>
	<div><span class="m-l-x"></span>手机号码:<input id="mobile" name="mobile" type="text"/></div>
	<div><span class="m-l-x"></span>电话号码:<input id="telPhone" name="telPhone" type="text"/></div>
	<input class="checkBoxDefult" type="checkbox" name="temp" id="temp"/><span>设置为默认收货地址</span>
	<div><button type="submit">保存</button></div> -->
	<!-- </form> -->

</div>

</body>
</html>